package com.wanmait.baohan.mapper;

import com.wanmait.baohan.pojo.ProvincesCity;

import java.util.List;

public interface ProvincesCityMapper {
    List<ProvincesCity> findCityByProvinceCode(String code);

    List<ProvincesCity> findDistrictByCityCode(String code);

    List<ProvincesCity> findAllCity();

    List<ProvincesCity> findAllProvince();

    int deleteByPrimaryKey(Long code);

    int insert(ProvincesCity record);

    int insertSelective(ProvincesCity record);

    ProvincesCity selectByPrimaryKey(Long code);

    int updateByPrimaryKeySelective(ProvincesCity record);

    int updateByPrimaryKey(ProvincesCity record);
}